<template>
	<view>
		<car-type :hasSearch="true" :scrollHeight="`calc(100vh - 198rpx)`" :indexListTop="132" @selected="selectHandler"></car-type>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			/**
			 * 选择车型处理函数
			 * */ 
			selectHandler(event) {
				const that = this;
				uni.$emit('selectCarType', event);
				uni.navigateBack();
			}
		}
	}
</script>

<style>

</style>
